package com.sbc.liteflow.component.test;

import com.yomahub.liteflow.core.NodeComponent;
import org.springframework.stereotype.Component;

import static java.lang.Thread.sleep;

/**
 * @Description: 组件 B
 * @Author: songbaicheng
 * @Create: 2024/11/13 20:22
 **/
@Component("b")
public class BCmp extends NodeComponent {

    @Override
    public void process() throws Exception {
        System.out.println("我是组件 B 的执行过程逻辑");

        // 模拟耗时操作
        sleep(3000);
    }
}
